<?php 
	PhanQuyenDiemDanh(); 
	if(!IsGV())
		header('Location: ../index.php');
?>
<div style="width:100%">
	<div class="Title" style="width:100%; color:#333; font-size:16px">Đổi mật khẩu</div>
	<div class="Table">
		<form action="index.php?act=doimatkhau_sub" method="POST">
			<table width="50%" style="border-spacing:0; border:1px solid #DDD">
				<?php
					$MaGiaoVien = $_SESSION['GV']['MaGiaoVien'];
					echo '<input type="text" name="MaGiaoVien" value="' . $MaGiaoVien . '" hidden="true"/>';
				?>
				<tr>
					<td style="background-color:#FFF">&nbsp;</td>
				</tr>
				<tr style="height:30px">
					<td style="background-color:#FFF" width="35%">Mật khẩu hiện tại</td>
					<td style="background-color:#FFF"><input type="password" name="MatKhau" style="width:99%" /></td>
				</tr>
				<tr style="height:30px">
					<td style="background-color:#FFF" width="35%">Mật khẩu mới</td>
					<td style="background-color:#FFF"><input type="password" name="MatKhauMoi" style="width:99%" /></td>
				</tr>
				<tr style="height:30px">
					<td style="background-color:#FFF">Nhập lại mật khẩu mới</td>
					<td style="background-color:#FFF"><input type="password" name="XacNhanMatKhau"  style="width:99%"/></td>
				</tr>
				<tr>
					<td style="background-color:#FFF">&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="submit" value="Đổi mật khẩu"  style="padding: 0 20px 0px 20px; height: 30px; cursor: pointer"/></td>
				</tr>
			</table>
		</form>
	</div>
</div>